package com.tom.architect.party4.day33.simple1;

public class UserLoginResult {
    // 成功是一个对象，不成功是String字符串(解析不对，报异常)。返回的数据格式不一致。
    public Object data;

    @Override
    public String toString() {
        return "UserLoginResult{" +
                "data=" + data +
                '}';
    }

    public class UserInfo {
        public String userName;
        public String userPwd;

        @Override
        public String toString() {
            return "UserInfo{" +
                    "userName='" + userName + '\'' +
                    ", userPwd='" + userPwd + '\'' +
                    '}';
        }
    }

}
